public class text {
    public static void main(String[] args){
    BinaryTree binaryTree=new BinaryTree();
    BinaryTree.TreeNode root=binaryTree.createTree();
    binaryTree.preOrder(root);
    System.out.println();
    binaryTree.postOrder1(root);
        System.out.println();
    binaryTree.middleOrder(root);
        System.out.println();
    binaryTree.LastOrder(root);
        System.out.println();
    }

}
